<?php
/**
 * Created by PhpStorm.
 * User: 丶晓
 * Date: 2017/8/24
 * Time: 14:28
 */

namespace app\home\controller;


use app\home\common\Tools;
use think\Controller;
use think\Session;

class Login extends Controller
{
    public function out()
    {
        $Tools = new Tools();
        Session::clear();
        return $Tools->success('logout success!');
    }
    public function index(){
        echo '退出成功，请重新登录';
    }
}